package com.aiwei.tdjk.common.entity;


import com.aiwei.tdjk.common.reposiotry.base.BaseRepositoryFactoryBean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.data.web.config.EnableSpringDataWebSupport;

/**
 * 通过注解配置factory-class
 */
@Configuration
@EnableJpaRepositories(basePackages = "com.aiwei.**",
        repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
@EnableSpringDataWebSupport
public class JpaDataConfig {

}
